home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / hardware / printer_drivers / olivettijp / install_driver next >
Text File  |  1999-05-14  |  1KB  |  47 lines

  1. . $VER: Install_Printer_Driver 2.0 (16/3/99)
  2. . Peter Hutchison
  3.  
  4. . WB 2.x
  5. If Not Exists c:RequestChoice
  6.    Copy Olivetti_JP.#? Devs:Printers
  7.    Sys:Prefs/Printer
  8.    Sys:Prefs/PrinterGfx
  9.    Quit
  10. Endif
  11. . WB 3.x
  12. RequestChoice >env:cpu "Select Processor version" "Which version of driver do you require?" "68000|68020|Cancel"
  13. If $CPU EQ "0"
  14.    Quit
  15. endif
  16. If $CPU EQ "1"
  17.   Copy Olivetti_JP..000 to t:Driver
  18. Endif
  19. IF $Cpu EQ "2"
  20.   Copy Olivetti_JP.020 to t:Driver
  21. Endif
  22. Copy t:Driver to t:Olivetti_JP50 Quiet
  23. Copy t:Driver to t:Olivetti_JP70 Quiet
  24. Copy t:Driver to t:Olivetti_JP150 Quiet
  25. Copy t:Driver to t:Olivetti_JP170 Quiet
  26. Copy t:Driver to t:Olivetti_JP190 Quiet
  27. Copy t:Driver to t:Olivetti_JP250 Quiet
  28. Copy t:Driver to t:Olivetti_JP270 Quiet
  29. Copy t:Driver to t:Olivetti_JP350 Quiet
  30. Copy t:Driver to t:Olivetti_JP360 Quiet
  31. Copy t:Driver to t:Olivetti_JP370 Quiet
  32. Copy t:Driver to t:Olivetti_JP450 Quiet
  33. Copy t:Driver to t:Olivetti_JP470 Quiet
  34. RequestFile >env:Driver Drawer t: Pattern "Oliv#?" Title "Select Driver" Noicons
  35. Copy $Driver Devs:Printers quiet
  36. Delete t:Driver t:Oliv#? quiet
  37. RequestChoice >env:NewPref "Printer Prefs" "Do you wish to change Printer Prefs?" "Yes|No"
  38. If $NewPref EQ "1"
  39.   sys:prefs/printer
  40. Endif
  41. RequestChoice >env:NewPref "PrinterGfx Prefs" "Do you wish to change PrinterGfx Prefs?" "Yes|No"
  42. If $NewPref EQ "1"
  43.   sys:prefs/printergfx
  44. Endif
  45.  
  46.  
  47.